<?php

include('../config_co.php');
include('../config.php');
include('../connect/connexionsql.php');

if(isset($_GET['t']) && $_GET['t']!=null){
	$rep=mysql_query("SELECT * FROM ".USER_TABLE." WHERE ".USER_LOGIN."='".mysql_real_escape_string($_GET['t'])."' ");
	$membre=mysql_fetch_object($rep);
	$rep0=mysql_query("SELECT * FROM kiwom_droitacces WHERE id='".$membre->niveau_kiwom."' ");
	$droits=mysql_fetch_object($rep0);
	echo utf8_encode($droits->type);
}